package com.htu.lichen.enums;

import lombok.Getter;

/**
 * @Author: lichen
 * @Date: 12/28/20 5:26 PM
 */

@Getter
public enum StateEnum {
    DELETED(1, "已删除"),
    NOT_DELETED(0, "未删除"),

    ENABLED(1, "启用"),
    NOT_ENABLE(0, "未启用"),


    SEX_MAN(1, "男"),
    SEX_WOMAN(2, "女"),


    REQUEST_SUCCESS(1, "请求正常"),
    REQUEST_ERROR(0, "请求异常"),


    ADMIN(0, "管理员"),
    USER(1, "普通用户");

    private Integer code;
    private String msg;

    StateEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
